﻿using HuaCheng.UserControls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HuaCheng.Controller
{
    public class UcFactory
    {
        public static UserBase getUcChannel(int type)
        {
            UserBase uc = null;
            if (type == 0)
            {
                uc = new UcChannelBig();
            }
            else if (type == 1)
            {
                uc = new UcChannelMid();
            }
            else
            {
                uc = new UcChannelSmall();
            }
            return uc;
        }
    }
}
